package holiday_demo;

public class Try_catch_text {
    public static void main(String[] args) {
        try{
            throw new Throwable("my exception!");
        }
        catch (Throwable e){
            System.out.println(e.toString());
        }
        int x = 5,y = 8,z = 2,t = 0;
        t =  x < z ? ( y < z ? z : y ): x;
        System.out.println(t);
    }
}
